using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;

public class LLMMethod_Battle : PWareItem
{
    public LLMMethod_Battle(string name) : base(name) { }
    public Action method;
    public string description;
}
public class Roster_LLMMethod_Battle : IPwareRoster
{
    public static string GetList()
    {
        var list = PWarehouse.GetRoster<LLMMethod_Battle>().Select(x => (LLMMethod_Battle)x);
        string res = "";
        int index = 0;
        foreach (var item in list)
        {
            res += $"{++index}.{item.name}:{item.description},\n";
        }
        return res;
    }
    public void DefineRoster()
    {
        //外部定义
    }
}